<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			#d2{
				width: 440px;
				height: 500px;
				padding: 20px;				
				background: #f2f2f2;
				margin: 80px auto 0;
			}
			h3{
				
	            margin:0px;
	            border-bottom:1px solid #ddd;
	            line-height:50px;
	            font-size:22px;
	            font-weight:100;
            }
			textarea{
				resize: none;
				width: 240px;
				height: 100px;
			
			}
			.xm{
				width: 240px;
				height: 24px;
				
			}
			.tc{
				margin-left: 80px;
			}
			.ms{
				position: relative;
				top: 0px;
				left: 0px;
			}
			label{
				float: left;
				width: 80px;
				text-align: right;
			}
		</style>
	</head>
	<body>
		<div id="d2">
			<h3>注册表单</h3>
			<form action="" method="get">										
				<p>
					<label>姓名：</label><input type="text" name="user" id="" value="" class="xm"/>
				</p>
				<p>
					<label>密码：</label><input type="text" name="password" class="xm"/>
				</p>
	            <p>
				<label>性别：</label>
				<input type="radio" name="sex" id="" value="" />男
				<input type="radio" name="sex" checked="checked" />女
				</p>
	            <p>
				<label>爱好：</label>
				<input type="checkbox" name="" id="" value="" />唱歌
				<input type="checkbox" name="" id="" value="" />跑步
				<input type="checkbox" name="" id="" value="" />游泳
				</p>
	            <p>
				<label>照片：</label>
				<input type="file"  value="选择文件" />
				</p>
	            <p>
					<label class="ms">个人描述：</label>
					<textarea></textarea><br />
				<p/>
				<p>
					<label>籍贯</label>
					<select name="site">
						<option value="0">北京</option>
						<option value="1">上海</option>
						<option value="2">天津</option>
						<option value="3">重庆</option>
					</select>
				</p>
	            <p>
				<input type="submit" name="" id="" value="提交" class="tc"/>
				<input type="submit" name="" id="" value="重置" />
				
			</p>
			</form>
		</div>
	</body>
</html>
